package cc.xwolf.java8.defaultmethodsforInterfaces;

import java.sql.Date;

public class BeijingWeather implements IWeather {

	public static void main(String[] args) {
		final BeijingWeather beijingWeather = new BeijingWeather();
		System.out.println(beijingWeather.weather(new Date(2019, 6, 20)));

	}

	@Override
	public String weather(Date date) {

		return "北京雾霾";
	}

}
